/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

/**
 *
 * @author tho.hoang
 */
public class Gold extends AModel {

    private String code;
    private String priceBuyCach;
    private String priceBuyTransfer;
    private String priceSellCach;
    private String priceSellTransfer;
    private String latestDate;
    private String source;
    private String symbol;
    private String[] header;
    private String unit;

    public Gold() {
        super(0, "");
    }

    public void setPrice(String code, String priceBuyCach, String priceBuyTransfer, String priceSellCach, String priceSellTransfer) {
        this.code = code;
        this.priceBuyCach = priceBuyCach;
        this.priceBuyTransfer = priceBuyTransfer;
        this.priceSellCach = priceSellCach;
        this.priceSellTransfer = priceSellTransfer;
    }

    public void setCompany(String latestDate, String source, String unit, String symbol) {
        this.latestDate = latestDate;
        this.source = source;
        this.unit = unit;
        this.symbol = symbol;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String[] getHeader() {
        return header;
    }

    public void setHeader(String[] header) {
        this.header = header;
    }

    public String getLatestDate() {
        return latestDate;
    }

    public void setLatestDate(String latestDate) {
        this.latestDate = latestDate;
    }

    public String getPriceBuyCach() {
        return priceBuyCach;
    }

    public void setPriceBuyCach(String priceBuyCach) {
        this.priceBuyCach = priceBuyCach;
    }

    public String getPriceBuyTransfer() {
        return priceBuyTransfer;
    }

    public void setPriceBuyTransfer(String priceBuyTransfer) {
        this.priceBuyTransfer = priceBuyTransfer;
    }

    public String getPriceSellCach() {
        return priceSellCach;
    }

    public void setPriceSellCach(String priceSellCach) {
        this.priceSellCach = priceSellCach;
    }

    public String getPriceSellTransfer() {
        return priceSellTransfer;
    }

    public void setPriceSellTransfer(String priceSellTransfer) {
        this.priceSellTransfer = priceSellTransfer;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }
}
